home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Arsenal Files 8
/
The Arsenal Files Collection #8 (Arsenal Computer) (1996).ISO
/
wildcat
/
lockout!.zip
/
LOCKOUT.WCX
(
.txt
)
< prev
next >
Wrap
Wildcat! WCX
|
1996-09-14
|
2KB
|
132 lines
'! Decompiled with wccNosy version 4.20f (freeware)
'! Input File: in.wcx 1716 bytes 11/15/122 01:49:30am
'! Code Segment Size :1178 bytes
'! Data Segment Size :4521 bytes
'! String Segment Size:538 bytes
'! Compiled with WCC version 4.20
Dim i4465 As Integer
Dim s4467 As String
Dim s4471 As String
Dim s4475 As String
Dim s4479 As String
Dim s4483 As String
Dim s4487 As String
Dim s4491 As String
Dim i4495 As Integer
Dim s4497 As String
Dim s4501 As String
Dim s4505 As String
Dim s4509 As String
Dim s4513 As String
Dim s4517 As String
s4487 = "f"
s4479 = "false"
i4465 = FreeFile
Open ProgPath + "LOCKOUT.CFG" For Input As i4465
Input #i4465, s4467
Input #i4465, s4471
Input #i4465, s4475
Input #i4465, s4483
Close i4465
If Exists(ProgPath + "LOCKOUT.DAT") Then
i4495 = FreeFile
Open ProgPath + "LOCKOUT.DAT" For Input As i4495
197 Do While Not EOF(i4495)
Input #i4495, s4497
If UCase(Trim(s4497)) = UCase(Trim(User.SecLevel)) Then
s4487 = "t"
End If
266 Loop
272 Close i4495
i4495 = FreeFile
Open ProgPath + "LOCKOUT.DAT" For Input As i4495
316 Do While Not EOF(i4495)
Input #i4495, s4501
If UCase(Trim(s4501)) = UCase(Trim(User.Name)) Then
s4487 = "t"
End If
385 Loop
391 Close i4495
End If
399 If UCase(Trim(s4467)) <> UCase(Trim(MakeWild.SysopName)) Then
Cls
Print DefColor
Print "LOCKOUT.CFG line 1 incorrect."
Print "Enter the SysOp name EXACTLY as it appears in Makewild."
Beep
Delay 0.25
Beep
Delay 0.25
Beep
Delay 3
End
Else
501 If UCase(Trim(s4471)) <> UCase(Trim(MakeWild.BBSName)) Then
Cls
Print DefColor
Print "LOCKOUT.CFG line 2 incorrect."
Print "Enter the BBS name EXACTLY as it appears in Makewild."
Beep
Delay 0.25
Beep
Delay 0.25
Beep
Delay 3
End
End If
End If
597 s4505 = Str(Asc(LCase(Right(Left(s4467, 2), 1))))
s4509 = Str(Asc(LCase(Left(Right(s4467, 2), 1))))
s4513 = Str(Asc(LCase(Right(Left(s4471, 2), 1))))
s4517 = Str(Asc(LCase(Left(Right(s4471, 2), 1))))
s4491 = Str(Val(s4513 + s4505) + Val(s4517 + s4509))
If s4491 = s4475 Then
s4479 = "true"
End If
765 If s4479 = "false" Then
Cls
Locate 14, 10
Color 12, 0
Beep
Print "This is an *UNREGISTERED* trial version of LOCKOUT."
Locate 15, 10
Color 12, 0
Print "REGISTRATION removes this nag screen and 10 second delay."
Locate 16, 10
Color 12, 0
Print "Please ask " + Trim(s4467) + " to register this software."
Beep
Delay 10
End If
881 If s4487 = "t" Then
Cls
Locate 14, 10
Color 13, 0
Beep
Print Trim(s4467) + " has denied you access to this feature."
Delay 1
Locate 15, 10
Print "Please contact " + Trim(s4467) + " for further information."
Delay 2
Else
989 If Exists(ProgPath + Trim(s4483)) Then
Chain ProgPath + Trim(s4483), ""
Else
1036 GoTo 1042
End If
1042 Cls
Locate 14, 10
Color 12, 0
Beep
Delay 0.25
Beep
Delay 0.25
Beep
Print "Cannot find " + Trim(s4483) + ".wcx in this directory."
Delay 2
GoTo 1122
End If
1122